{{extend "test_layout.html"}}

{{block sub_menu}}
{{sub_menu(menu_items, 'test', 'testplan')}}
{{end}}

{{block content_tool}}
    <a class="btn btn-blue" href="/tests/plans/add">新建测试计划</a>
    {{if request.user.department in ['3']:}}
        <a class="btn btn-blue" href="/tests/plans/version_verification_test_import">导入版本验证测试计划</a>
    {{pass}}
{{end}}

{{block content_main}}
{{use "jquery"}}

<div class="content">
    <div class="query">
        {{embed query_form}}
    </div>
    {{table_id='testplan_table'}}
    {{include "inc_table.html"}}
    <script>
        $(function(){
            create_table("{{=request.path}}", download=true);
        });
    </script>
    <div>
        可以按：测试计划编号, 审批结果, 条线, 开发中心, 提出方，系统等进行排序。
    </div>
</div>

{{end}}